﻿using GWB.Core.TableEntity.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GWB.Core.TableEntity
{

    /// <summary>
    /// 角色菜单
    /// </summary>
    [SugarTable("GWB_AssignMenu")]
    public  class OwnerMenu: BaseEntity
    {

        [SugarColumn(ColumnDataType = "bigint", ColumnDescription = "角色Id", IsNullable = false)]
        public long OwnerId { get; set; }


        [SugarColumn(ColumnDataType = "bigint", ColumnDescription = "菜单Id", IsNullable = false)]
        public long MenuId { get; set; }

        [SugarColumn(ColumnDataType = "int", ColumnDescription = "1:租户  2:角色", IsNullable = false)]
        public int Type { get; set; }

    }
}
